<!DOCTYPE html>
<html>
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
	</title>
	<?php
		echo $this->Html->css('cake.generic');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
</head>
<body>
	<div id="container">

		<div id="header">
            <h3><?php echo ($header_name)?></h3>

            <?php if($_SERVER['SERVER_ADDR'] == '211.151.100.202') {?>
                <?php echo $this->Html->link('런런 테스트', array('controller' => 'User', 'action' => 'index', 0))?>
            <?php } else {?>
                <?php echo $this->Html->link('내부', array('controller' => 'User', 'action' => 'index', 0))?>
                <?php echo $this->Html->link('내부 마이', array('controller' => 'User', 'action' => 'index', 1))?>
                <?php echo $this->Html->link('킹넷 테스트', array('controller' => 'User', 'action' => 'index', 2))?>
                <?php echo $this->Html->link('킹넷', array('controller' => 'User', 'action' => 'index', 3))?>
            <?}?>
		</div>

		<div id="content">

			<?php echo $this->Session->flash(); ?>

			<?php echo $this->fetch('content'); ?>
		</div>

		<div id="footer">
		</div>

	</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>
